package com.lck.blogmanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author wyq
 * @version v1.0.0
 * @explain
 * @date 2024/4/7 11:12
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("admin")
public class AdminEntity {

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 管理员姓名
     */
    private String name;

    /**
     * 联系方式
     */
    private String telephone;

    /**
     * 加密后密码
     */
    private String password;

}
